package com.crm.app.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.crm.app.mapper.AppLoginJourMapper;
import com.crm.app.domain.AppLoginJour;
import com.crm.app.service.IAppLoginJourService;

/**
 * APP登录流水Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-03-09
 */
@Service
public class AppLoginJourServiceImpl implements IAppLoginJourService 
{
    @Autowired
    private AppLoginJourMapper appLoginJourMapper;

    /**
     * 查询APP登录流水
     * 
     * @param id APP登录流水主键
     * @return APP登录流水
     */
    @Override
    public AppLoginJour selectAppLoginJourById(Long id)
    {
        return appLoginJourMapper.selectAppLoginJourById(id);
    }

    /**
     * 查询APP登录流水列表
     * 
     * @param appLoginJour APP登录流水
     * @return APP登录流水
     */
    @Override
    public List<AppLoginJour> selectAppLoginJourList(AppLoginJour appLoginJour)
    {
        return appLoginJourMapper.selectAppLoginJourList(appLoginJour);
    }

    /**
     * 新增APP登录流水
     * 
     * @param appLoginJour APP登录流水
     * @return 结果
     */
    @Override
    public int insertAppLoginJour(AppLoginJour appLoginJour)
    {
        return appLoginJourMapper.insertAppLoginJour(appLoginJour);
    }

    /**
     * 修改APP登录流水
     * 
     * @param appLoginJour APP登录流水
     * @return 结果
     */
    @Override
    public int updateAppLoginJour(AppLoginJour appLoginJour)
    {
        return appLoginJourMapper.updateAppLoginJour(appLoginJour);
    }

    /**
     * 批量删除APP登录流水
     * 
     * @param ids 需要删除的APP登录流水主键
     * @return 结果
     */
    @Override
    public int deleteAppLoginJourByIds(Long[] ids)
    {
        return appLoginJourMapper.deleteAppLoginJourByIds(ids);
    }

    /**
     * 删除APP登录流水信息
     * 
     * @param id APP登录流水主键
     * @return 结果
     */
    @Override
    public int deleteAppLoginJourById(Long id)
    {
        return appLoginJourMapper.deleteAppLoginJourById(id);
    }
}
